package router

import (
	"go_20210605/handler"
	"net/http"

	"github.com/gin-gonic/gin"
)

func NewRouter() http.Handler {
	r := gin.Default()
	r.GET("/user/:id", handler.UserHandler.FindById)
	return r
}
